<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<span class="right"><span>&nbsp;</span></span>

<h1 class="clear">Administration Login</h1>

<div class="login-content form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>false,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>
	<div class="row">
		<p><?php echo $form->labelEx($model,'username'); ?></p>
		<?php echo $form->textField($model,'username', array('class' => 'input-text cm-focus')); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<p><?php echo $form->labelEx($model,'password'); ?></p>
		<?php echo $form->passwordField($model,'password', array('class' => 'input-text')); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>
	
	<div class="row buttons-container nowrap right">
		<?php echo CHtml::submitButton('Login'); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
